package com.qyhl.cloud.webtv.module_integral.wallet.cash;


import com.qyhl.webtv.commonlib.entity.intergral.AccountBean;
import com.qyhl.webtv.commonlib.entity.intergral.CashLimitBean;
import com.qyhl.webtv.commonlib.entity.intergral.IntegralUserInfoBean;

public interface CashContract {
    interface CashView {
        void getSuccess(CashLimitBean bean);

        void getNetError(String msg);

        void getError(String msg);

        void docommitSuccess(AccountBean bean);

        void docommitError(String msg);

        void getInfoSuccess(IntegralUserInfoBean bean);

        void getInfoError(String msg);
    }

    interface CashPresenter {
        void getCashLimit();

        void doCommit(String username, int money, String platform);

        void getSuccess(CashLimitBean bean);

        void getError(int code, String msg);

        void docommitSuccess(AccountBean bean);

        void docommitError(int code, String msg);

        void getInfo(String username);

        void getInfoSuccess(IntegralUserInfoBean bean);

        void getInfoError(String msg);
    }

    interface CashModel {
        void getCashLimit();

        void doCommit(String username, int money, String platform);

        void getInfo(String username);
    }
}
